package com.llc.spring.cloud.client.feign.controller;

import com.llc.spring.cloud.client.feign.api.HelloService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * time 2018/6/21 18:36
 *
 * @author xiaojie.zhu <br>
 */
@RestController
public class AppController {
    @Autowired
    private HelloService helloService;

    @RequestMapping("/a")
    public String a(){
        String jane = helloService.sayHello("jane");
        System.out.println(jane);
        return "a";
    }
}
